<?php
namespace app\index\controller;

use library\Controller;
use library\service\AdminService;
use library\service\MenuService;
use think\Db;

class Test extends Controller{
    public function test(){
        echo createCode(1);
    }

    public function time(){
        echo date("Y-m-d H:i:s");
    }
}
?>